package chenjiuxu.seniorui

import android.content.Intent
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.View

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)


    }

    fun click(v: View) {
        when (v.id) {
            R.id.liu_layout -> {
                val intent = Intent(this, FlowLayoutActivity::class.java)
                startActivity(intent)
            }
            R.id.draw -> {
                val intent = Intent(this, DrawActivity::class.java)
                startActivity(intent)
            }
            R.id.falls -> {
                val intent = Intent(this, FallsLayoutActivity::class.java)
                startActivity(intent)
            }
            R.id.yuan -> {
                val intent = Intent(this, TextProgressBarActivity::class.java)
                startActivity(intent)
            }
            R.id.test1 -> {
                val intent = Intent(this, StudyActivity::class.java)
                startActivity(intent)
            }
            R.id.magnifier_img -> {
                val intent = Intent(this, MagnifierImgActivity::class.java)
                startActivity(intent)
            }
            R.id.textview_nh -> {
                val intent = Intent(this, TheNeonLightsActivity::class.java)
                startActivity(intent)
            }
            R.id.audio_wave -> {
                val intent = Intent(this, AudioWaveActivity::class.java)
                startActivity(intent)
            }
            R.id.double_bar -> {
                val intent = Intent(this, DoubleBarActivity::class.java)
                startActivity(intent)
            }  R.id.line_timer_view -> {
                val intent = Intent(this, LineTimerViewActivity::class.java)
                startActivity(intent)
            }  R.id.breakpoint_circular_nsv_rv -> {
                val intent = Intent(this, NestedRecyclerviewActivity::class.java)
                startActivity(intent)
            } R.id.breakpoint_circular_nsv_nine_lattice -> {
                val intent = Intent(this, NineLatticeLayoutActivity::class.java)
                startActivity(intent)
            }
        }

    }

}
